package com.shuyigou.mapper;

import com.shuyigou.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    public List<Order> selectByCustomerId(@Param("customer_id") int customer_id);
    public void addOrder(@Param("ISBN") String ISBN, @Param("customer_id") int customer_id, @Param("quantity") int quantity);
}
